{"mode":"Blocks","workspace":"<xml xmlns=\"https://developers.google.com/blockly/xml\"><variables><variable id=\"_2.^beQjx|FGt38A,8(E\">myVariable</variable><variable type=\"broadcast_msg\" id=\"9B7$-6{bR=.WE^T6P(F-\">message1</variable><variable type=\"list\" arraylength=\"2\" id=\"s35oq#9@a{hUWSQXniyD\">length</variable></variables><block type=\"iq_events_when_started\" id=\".NsXwU_L.OuU1l7Sho$F\" x=\"290\" y=\"150\"><next><block type=\"iq_motion_set_motor_velocity\" id=\".L3av(r^j9R0DCPE)J+$\"><field name=\"MOTOR\">Motor1</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"}G*O5|}fE){t*Su/oc.?\"><field name=\"NUM\">100</field></shadow></value><next><block type=\"iq_motion_set_motor_velocity\" id=\"_:!j8;pMB?1AmOqxSnj[\"><field name=\"MOTOR\">Motor6</field><field name=\"UNITS\">pct</field><value name=\"VELOCITY\"><shadow type=\"math_number\" id=\"kG|N`rOpW]x,i/Xb9Uaw\"><field name=\"NUM\">50</field></shadow></value><next><block type=\"iq_control_forever\" id=\"V.4*Weg+W.1M+(`S5:,T\"><statement name=\"SUBSTACK\"><block type=\"iq_motion_spin_for\" id=\"TiW6$SGF8Y3`xNCEyNe~\"><field name=\"MOTOR\">Motor1</field><field name=\"DIRECTION\">fwd</field><field name=\"UNITS\">deg</field><field name=\"anddontwait_mutator\">true</field><value name=\"AMOUNT\"><shadow type=\"math_number\" id=\"S#fLcbkVN`^*mJpime:]\"><field name=\"NUM\">360</field></shadow></value><next><block type=\"iq_motion_spin_for\" id=\"%#T()^K*kW2t+.@#K6ux\"><field name=\"MOTOR\">Motor6</field><field name=\"DIRECTION\">fwd</field><field name=\"UNITS\">deg</field><field name=\"anddontwait_mutator\">true</field><value name=\"AMOUNT\"><shadow type=\"math_number\" id=\"0~rZKKW^I@yD8PV=GOO_\"><field name=\"NUM\">360</field></shadow></value></block></next></block></statement></block></next></block></next></block></next></block></xml>","rconfig":[{"port":[3],"name":"Distance3","customName":false,"deviceType":"Distance","deviceClass":"sonar","setting":{},"triportSourcePort":22},{"port":[8],"name":"Bumper8","customName":false,"deviceType":"Bumper","deviceClass":"bumper","setting":{},"triportSourcePort":22},{"port":[9],"name":"Bumper9","customName":false,"deviceType":"Bumper","deviceClass":"bumper","setting":{},"triportSourcePort":22},{"port":[5],"name":"TouchLED5","customName":false,"deviceType":"TouchLED","deviceClass":"touchled","setting":{},"triportSourcePort":22},{"port":[1],"name":"Motor1","customName":false,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"false","fwd":"forward","rev":"reverse"}},{"port":[6],"name":"Motor6","customName":false,"deviceType":"Motor","deviceClass":"motor","setting":{"reversed":"true","fwd":"forward","rev":"reverse"}}],"slot":0,"platform":"IQ","sdkVersion":"20230627.09.00.00","appVersion":"3.0.0","minVersion":"3.0.0","fileFormat":"1.2.0","icon":"","targetBrainGen":"First","v5SoundsEnabled":false,"downloadLanguage":"python","cppStatus":"true","cpp":"// Make sure all required headers are included.\n#include <stdio.h>\n#include <stdlib.h>\n#include <stdbool.h>\n#include <math.h>\n#include <string.h>\n\n\n#include \"vex.h\"\n\nusing namespace vex;\n\n// Brain should be defined by default\nbrain Brain;\n\n\n// START IQ MACROS\n#define waitUntil(condition)                                                   \\\n  do {                                                                         \\\n    wait(5, msec);                                                             \\\n  } while (!(condition))\n\n#define repeat(iterations)                                                     \\\n  for (int iterator = 0; iterator < iterations; iterator++)\n// END IQ MACROS\n\n\n// Robot configuration code.\nsonar Distance3 = sonar(PORT3);\nbumper Bumper8 = bumper(PORT8);\nbumper Bumper9 = bumper(PORT9);\ntouchled TouchLED5 = touchled(PORT5);\nmotor Motor1 = motor(PORT1, false);\nmotor Motor6 = motor(PORT6, true);\n\n\n\n// Generated code.\n\n// Include the IQ Library\n#include \"vex.h\"\n  \n// Allows for easier use of the VEX Library\nusing namespace vex;\n\nfloat myVariable;\n\nfloat length[2];\n\nevent message1 = event();\n\n// \"when started\" hat block\nint whenStarted1() {\n  Motor1.setVelocity(100.0, percent);\n  Motor6.setVelocity(50.0, percent);\n  while (true) {\n    Motor1.spinFor(forward, 360.0, degrees, false);\n    Motor6.spinFor(forward, 360.0, degrees, false);\n  wait(20, msec);\n  }\n  return 0;\n}\n\n\nint main() {\n  whenStarted1();\n}","target":"Physical"}